package com.wjx.shoolnews.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor

public class OrdinaryUser  implements Serializable {
    private int id;
    private  String zhanghao;
    private  String password;
    private  String nickname;

    public OrdinaryUser(String zhanghao, String password, String nickname) {
        this.zhanghao = zhanghao;
        this.password = password;
        this.nickname = nickname;
    }
}
